Skip to content

Fix/formula query - #1157

Merged
tsmathis merged 2 commits into
materialsproject:mainfrom
bfoley12:fix/formula-query
Dec 3, 2026
Merged

tsmathis merged 2 commits into
materialsproject:mainfrom
bfoley12:fix/formula-query

Conversation

@bfoley12

@bfoley12 bfoley12 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fix for the ContribsClient not properly ingesting the new formula__El__op regex query from the apispec.

Major changes

  • ContribsClient now parses the ^formula__... regex query parameters into their element/operator combinations to allow for querying.
    • The element portion is case-insensitive (formula__li__lte == formula__LI__lte)

@bfoley12
bfoley12 requested a review from tsmathis December 3, 2026 18:53
@bfoley12

bfoley12 commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

CI is green on my fork. Not passing here, since MP_API_* secrets don't get passed in on fork PRs. Looking into how to manage that better

@tsmathis
tsmathis merged commit 01d221a into materialsproject:main Dec 3, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants